

#ifndef _SHELL_RESOPENNEWGUY7EXTRAREWARD_MESSAGE_H_
#define _SHELL_RESOPENNEWGUY7EXTRAREWARD_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include <vector>
//#include "CaptionInfo.h"
using namespace std;

class ResOpenNewGuy7ExtraRewardMessage : public Message
{
	public:
	ResOpenNewGuy7ExtraRewardMessage();
	~ResOpenNewGuy7ExtraRewardMessage();
	void reset();
	ResOpenNewGuy7ExtraRewardMessage* clone();
	static const int _ID;
	//返回新人7天乐额外奖励描述
	vector<CaptionInfo*> description;
	//奖励配置
	std::string rewardStr;
	//已完成
	int32 already;
	//总数
	int32 total;
	//0不可领取,1可领取,2为已领取
	int32 uiShow;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
